/**
 * @description 公共的一些路由，不属于功能模块的都放这里统一管理
 * @author fhtwl */
/**
 *
 * 基础路由
 */
import LayoutView from "@/view/layout/index.vue";
export const constantRouterMap = [
    {
        path: "/",
        name: "首页",
        redirect: "home",
        component: LayoutView,
        children: [
            {
                name: "首页",
                path: "/home",
                icon: "HomeFilled",
                component: () => import('@/view/home/index.vue')
            },
            {
                name: "游客路由管理",
                path: "/2",
                icon: "HomeFilled",
                children: [
                    {
                        name: "游客路由1",
                        path: "/1",
                        component: () => import('@/view/visitorModel/1.vue')
                    },
                    {
                        name: "游客路由2",
                        path: "/2",
                        component: () => import('@/view/visitorModel/2.vue')
                    },
                ]
            },
         
            {
                name: "游客路由3",
                path: "/3",
                icon: "HomeFilled",
                component: () => import('@/view/visitorModel/3.vue')
            },
            {
                name: "游客路由4",
                path: "/4",
                icon: "HomeFilled",
                component: () => import('@/view/visitorModel/4.vue')
            },
        ]
    },
];

export default constantRouterMap